
package com.naza.rpc.listener.support;

import com.naza.rpc.listener.ModuleListener;
import com.naza.rpc.core.ModuleProvider;
import com.naza.rpc.model.RpcRequest;
import org.apache.commons.lang3.StringUtils;

/**
 * @author yl
 */
public class ModuleListenerAdapter implements ModuleListener {
    @Override
    public void exported(ModuleProvider<?> provider, RpcRequest request) {
        System.out.println(StringUtils.center("[ModuleListenerAdapter##exported]", 48, "*"));
    }

    @Override
    public void unExported(ModuleProvider<?> provider, RpcRequest request) {
        System.out.println(StringUtils.center("[ModuleListenerAdapter##unExported]", 48, "*"));
    }
}

